package com.service;

import com.entity.Student;

import java.util.List;

public interface StudentService {


    //查询所有
    List<Student> findStudentAll() ;


    /*
    一对一的查询
     */
    public List<Student> findAllWithGrade();

    //按照姓名查询
    public  List<Student> findName(String name);

    //按照编号查询
    Student  findById(int id);

    //添加
    public void  saveStudent(Student student);

    //删除
    //更新
}
